package com.wxw.springcloud.feign.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author wxw
 * @data 2021/1/25 19 :30
 * @description
 */
@FeignClient(name="09-springcloud-service-provider-seata")
public interface OrderService {
    @PostMapping("/trade/ir")
     void InventoryReduction(@RequestParam("id") Integer id);

}